package org.example.web;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 导出任务表
 *
 * @author chenjie
 * @since 2025-04-07
 */
@Data
@ApiModel(value = "ExportTask对象", description = "导出任务表")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ExportTaskRequest implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("创建人")
    private Long createPerson;

    @ApiModelProperty("修改人")
    private Long updatePerson;

    @ApiModelProperty("任务名称")
    private String taskName;

    @ApiModelProperty("任务编码")
    private String taskCode;

    @ApiModelProperty("任务参数")
    private String taskParams;

    @ApiModelProperty("账号id")
    private String accountId;

    @ApiModelProperty("请求地址")
    private String url;

    @ApiModelProperty("状态0=未开始 1=进行中 2=已完成 3=失败")
    private Integer status;
}
